package com.shujia.abstract_.exer2;

public class SWK extends Heshang {
    @Override
    public void chizhai() {
        System.out.println("孙悟空 吃斋...");
    }

    @Override
    public void nianfou() {
        System.out.println("孙悟空 念佛...");
    }

    @Override
    public void qujing() {
        System.out.println("孙悟空 取经...");

    }

    public void chuyao() {
        System.out.println("孙悟空 除妖...");
    }

}
